<?php

require_once dirname(__FILE__).'/../lib/galeriaGeneratorConfiguration.class.php';
require_once dirname(__FILE__).'/../lib/galeriaGeneratorHelper.class.php';

/**
 * galeria actions.
 *
 * @package    cronos-doctrine
 * @subpackage galeria
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class galeriaActions extends autoGaleriaActions
{
    public function executeListUp(sfWebRequest $request)
{
    $etiqueta = $this->getRoute()->getObject();
    $etiqueta->upOrden();
    //$job->extend(true);
    $this->getUser()->setFlash('notice', 'Orden Cambiado');
    $this->redirect('@galeria');
}

    public function executeListDown(sfWebRequest $request)
    {
        $etiqueta = $this->getRoute()->getObject();
        $etiqueta->downOrden();
        //$job->extend(true);
        $this->getUser()->setFlash('notice', 'Orden Cambiado');
        $this->redirect('@galeria');
    }
}
